<head>
    <title>Swipe to Delete</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" >
    <link rel="stylesheet" href="{{componentDefaults.yuiBuildUrl}}/cssreset/reset-min.css" type="text/css" charset="utf-8">
    <link rel="stylesheet" href="{{componentDefaults.yuiBuildUrl}}/cssfonts/fonts-min.css" type="text/css" charset="utf-8">
    <link rel="stylesheet" href="{{componentAssets}}/examples.css" type="text/css" charset="utf-8">
    <link media="handheld, only screen and (max-width: 800px)" href="{{componentAssets}}/examples-smallscreen.css" type= "text/css" rel="stylesheet" charset="utf-8">

    <script src="{{componentDefaults.yuiBuildUrl}}/yui/yui.js" charset="utf-8"></script>

    <style>
        /* Hide progressively enhanced markup */
        .yui3-js-enabled .myexample-hidden {
            display: none;
        }
    </style>
</head>
<body class="yui3-skin-sam">
    <div id="groceryheader" class="myexample-hidden">
        <h1>Grocery List (swipe left to delete item)</h1>
    </div>
    <ul id="swipe" class="myexample-hidden">
        <li><span>Fat Free Milk</span><button class="myapp-delete myapp-hidden">Delete</button></li>
        <li><span>Egg Whites</span><button class="myapp-delete myapp-hidden">Delete</button></li>
        <li><span>Whole Wheat Bread</span><button class="myapp-delete myapp-hidden">Delete</button></li>
        <li><span>Organic Apples</span><button class="myapp-delete myapp-hidden">Delete</button></li>
        <li id="kitkat"><span>Jumbo KitKat (24 pack)</span><button class="myapp-delete myapp-hidden">Delete</button></li>
    </ul>

    <script>
    {{>swipe-example-js}}
    </script>

    {{>test-runner}}
</body>
